<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>测试一</title>
    <style>
        body,h3,ul{
            margin: 0px;
            padding: 0px;
        }
        .news{
            width: 360px;
            height: 400px;
            border: 1px solid #ddd;
            margin: 50px auto;
            padding: 15px;
        }
        .news h3{
            border: 1px solid red;
            font-size: 20px;
        }
        .news ul {
            list-style: none;
            margin: 5px;
            
        }
        .news ul li{
            height: 35px;
            line-height: 35px;
            font-size: 16px;
            border-bottom: 1px dotted #ddd;
        }
        .news ul li a{
            text-decoration: none;
            color: #333;
        }
        .news ul li a span{
            margin-right: 4px;
        }

    </style>
</head>
<body>
    <div class="news">
        <h3>百度新闻热榜</h3>
        <ul>
            <li><a href="#"><span>1</span>全国人代会第二次全体会议热？</a></li>
            <li><a href="#"><span>2</span>美官员承认美国在乌生物实验室有料</a></li>
            <li><a href="#"><span>3</span> 组关键词读懂 “两高”报告热</a></li>
            <li><a href="#"><span>4</span> 建议独生子女父母退休金上调10-20%新</a></li>
            <li><a href="#"><span>5</span> 昨日新增本士确诊233例无症状322例热</a></li>
            <li><a href="#"><span>6</span>陕西新增10例本土确诊病例新</a></li>
            <li><a href="#"><span>7</span>新冠或致大脑萎缩 使人提前老10岁</a></li>
            <li><a href="#"><span>8</span>代表：45岁退休利于减少晚婚晚育</a></li>
        </ul>
    </div>
</body>
</html>